window = global;
window['名称'] = 'window'
navigator ={'名称':'navigator'};
document = {'名称':'document'};
location = {'名称':'location'};
screen ={'名称':'screen '};
localStorage ={'名称':'localStorage'};
function vmProxy(object)
{
        return new Proxy(object,{
                get: function(target, property, receiver){
                    
                    if(typeof(target[property]) != 'function'){
                        // if(property=='screen'){
                        //     debugger;
                        // }
                        console.log("get:",target,'------', property,'------', target[property]);
                    };
                    return target[property];
                },
                set: function(target, property, value) {
                    console.log("set: " ,target, property, value) ;
                    return Reflect.set(...arguments);
                },
        });
};
window = vmProxy(window);
navigator =vmProxy(navigator);
document = vmProxy(document);
location = vmProxy(location);
screen = vmProxy(screen);
localStorage = vmProxy(localStorage);